set(src_dirs
            LED
            KEY
            EXIT
            UART
            ESPTIMER)
set(include_dirs
            LED
            KEY
            EXIT
            UART
            ESPTIMER)
set(requires
            esp_driver_gpio
            esp_driver_uart
            esp_timer)

idf_component_register( SRC_DIRS ${src_dirs}
                        INCLUDE_DIRS ${include_dirs}
                        REQUIRES ${requires})